const state = {
  userPotho: localStorage.getItem('PHOTO') || 'https://img01.yzcdn.cn/vant/cat.jpeg'
}

const actions = {

}
const mutations = {
  GETUSERPHOTO (state, photo) {
    state.userPotho = photo
  }
}

const getters = {

}
export default {
  namespaced: true,
  state,
  actions,
  mutations,
  getters
}
